package com.platform.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 邀请码实体
 *
 * @author yanzhiwen
 * @email 2072482130@qq.com
 * @date 2018-11-21 12:08
 */
public class InviteVo implements Serializable{
    private static final long serialVersionUID = 1L;

    //主键
    private Integer id;
    //所属部门id
    private String deptId;
    //所属部门
    private String deptName;
    //邀请码
    private String invitation;
    //创建时间
    private Date createTime;
    //会员等级
    private Integer grade;
    //手机号码
    private String mobile;
    //是否被使用：0 未被使用，1 已被使用
    private char isUsed;
    //昵称
    private String useCode;

    /**
     * get methods below
     */
    public Integer getId() { return id; }

    public String getDeptId() { return deptId; }

    public String getDeptName() { return deptName; }

    public String getInvitation() { return invitation; }

    public Date getCreateTime() { return createTime; }

    public Integer getGrade() { return grade; }

    public String getMobile() { return mobile; }

    public char getIsUsed() { return isUsed; }

    /**
     * set methods below
     */
    public void setId(Integer id) { this.id = id; }

    public void setDeptId(String deptId) { this.deptId = deptId; }

    public void setDeptName(String deptName) { this.deptName = deptName; }

    public void setInvitation(String invitation) { this.invitation = invitation; }

    public void setCreateTime(Date createTime) { this.createTime = createTime; }

    public void setGrade(Integer grade) { this.grade = grade; }

    public void setMobile(String mobile) { this.mobile = mobile; }

    public void setIsUsed(char isUsed) { this.isUsed = isUsed; }

    public String getUseCode() {
        return useCode;
    }

    public void setUseCode(String useCode) {
        this.useCode = useCode;
    }
}
